package com.unytech.project.entity.torrents.baseinfo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.unytech.project.entity.BaseEntity;

/**
 * 小流域 代码表
 * @author DolphinBoy
 * 记录小流域代码
 */
@Entity 
@Table(name="CA_CD_B")
public class CA_CD_B extends BaseEntity {
	/** 小流域编码 */
	@Id @Column(name="CACD", length=10, nullable=false)
	private String cacd;
	
	/** 小流域名称 */
	@Column(name="CNAME", length=40, unique=true, nullable=false)
	private String cname;
	
}
